package com.ruoyi.warning.domain.dto;

import com.ruoyi.warning.domain.entity.Configuration;
import com.ruoyi.warning.domain.entity.Contacts;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 告警配置表DTO
 * </p>
 *
 * @author chenhc
 * @since 2025-02-06
 */
@Data
public class ConfigurationDTO extends Configuration {

    @ApiModelProperty("联系人手机号")
    private List<String> phones;
    @ApiModelProperty("联系人邮箱")
    private List<String> emails;
    @ApiModelProperty("联系人钉钉号")
    private List<String> dingdings;

    @ApiModelProperty("联系人对象list")
    private List<Contacts> contacts;
    @ApiModelProperty("事件名称")
    private String title;
    @ApiModelProperty("摄像头名称")
    private String deviceName;
    @ApiModelProperty("危急程度0一般预警1紧急预警")
    private Integer warningLevel;
    @ApiModelProperty("事件id")
    private String eventId;
    @ApiModelProperty("事件id")
    private String eventDetailId;
    private List<String> rules;
    private String value;
    private String warning;
}
